package com.taxshare.seller.entity.excel;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author YANG
 * @date 2021/3/26
 */
@Data
@ApiModel(description = "已开发票导出")
public class InvoicedExcelEntity {


    @TableField("order_no")
    @ApiModelProperty("结算单编号")
    private String orderNo;

    @TableField("serial_no")
    @ApiModelProperty("发票请求流水号")
    private String serialNo;

    @TableField("seller_name")
    @ApiModelProperty("销方名称")
    private String sellerName;

    @TableField("seller_tax_no")
    @ApiModelProperty("销方税号")
    private String sellerTaxNo;

    @TableField("purchaser_name")
    @ApiModelProperty("购方名称")
    private String purchaserName;

    @TableField("purchaser_tax_no")
    @ApiModelProperty("购方税号")
    private String purchaserTaxNo;

    @TableField("invoice_type")
    @ApiModelProperty("发票类型（004 专票 007 普票  026 电子发票）")
    private String invoiceType;

    @TableField("invoice_code")
    @ApiModelProperty("发票代码")
    private String invoiceCode;

    @TableField("invoice_no")
    @ApiModelProperty("发票号码")
    private String invoiceNo;

    @TableField("invoice_date")
    @ApiModelProperty("开票日期")
    private String invoiceDate;

    @TableField("total_sum")
    @ApiModelProperty("合计金额")
    private String totalSum;

    @TableField("total_tax")
    @ApiModelProperty("合计税额")
    private String totalTax;

    @TableField("invoice_state")
    @ApiModelProperty("发票状态（0 正常  1作废 2 红冲）")
    private String invoiceState;

    @TableField("old_invoice_code")
    @ApiModelProperty("原发票代码")
    private String oldInvoiceCode;

    @TableField("old_invoice_no")
    @ApiModelProperty("原发票号码")
    private String oldInvoiceNo;

    @TableField("drawer")
    @ApiModelProperty("开票人")
    private String drawer;

    @ApiModelProperty("操作人")
    @TableField("create_userid")
    private String createUserid;

    @TableField("make_invoice_type")
    @ApiModelProperty("开票类型（0 蓝票  1红票）")
    private String makeInvoiceType;

    @TableField("tax_authority")
    @ApiModelProperty("主管税务机关")
    private String taxAuthority;

    @TableField("tax_authority_code")
    @ApiModelProperty("主管税务机关代码")
    private String taxAuthorityCode;


    @TableField("seller_deposit_bank")
    @ApiModelProperty("销方开户银行")
    private String sellerDepositBank;

    @TableField("seller_address")
    @ApiModelProperty("销方地址")
    private String sellerAddress;

    @TableField("seller_phone")
    @ApiModelProperty("销方电话")
    private String sellerPhone;
}
